---
kind: Service
apiVersion: v1
metadata:
  name: dashboard
  namespace: d8-{{.Chart.Name}}
  {{- include "helm_lib_module_labels" (list . (dict "app" "dashboard")) | nindent 2 }}
spec:
  ports:
  - name: https
    port: 8443
  selector:
    app: dashboard
---
kind: Service
apiVersion: v1
metadata:
  name: dashboard-metrics-scraper
  namespace: d8-{{.Chart.Name}}
  {{- include "helm_lib_module_labels" (list . (dict "app" "metrics-scraper")) | nindent 2 }}
spec:
  ports:
    - port: 8000
      targetPort: 8000
  selector:
    app: metrics-scraper
